{extend name="public/layer_base"}

{block name="main"}
<form action="{:url('save_role')}" method="post" class="form form-horizontal" id="form-send">
    <div class="row cl">
        <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>角色名：</label>
        <div class="formControls col-xs-8 col-sm-9">
            <input type="text" class="input-text" name="name" value="{$data.name|default=''}">
        </div>
    </div>
    <div class="row cl">
        <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
            <button class="btn btn-primary radius" type="submit"><i class="Hui-iconfont">&#xe632;</i> 保存并提交审核</button>
            <button onClick="layer_close();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
        </div>
    </div>
    <input type="hidden" name="id" value="{$data.id|default=0}">
    <input type="hidden" name="__token__" value="{$Request.token}" />
</form>
{/block}